package com.franklin.ideaplugin.mybatisrunner.linemarker;

import com.franklin.ideaplugin.mybatisrunner.action.ExecuteSqlAction;
import com.franklin.ideaplugin.mybatisrunner.psi.MybatisPsiAnnotation;
import com.franklin.ideaplugin.mybatisrunner.psi.MybatisPsiElement;
import com.franklin.ideaplugin.mybatisrunner.psi.MybatisXmlTag;
import com.intellij.codeInsight.daemon.LineMarkerInfo;
import com.intellij.openapi.actionSystem.ActionGroup;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.editor.markup.GutterIconRenderer;
import com.intellij.pom.Navigatable;
import com.intellij.psi.PsiAnnotation;
import com.intellij.psi.xml.XmlTag;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;
import java.util.Collection;

/**
 * @author Ye Junhui
 * @since 2024/2/19
 */
class MapperXmlLineMarkerInfo extends AbstractMapperLineMarkerInfo<XmlTag> {

    MapperXmlLineMarkerInfo(
            @NotNull XmlTag element,
            @NotNull Icon icon,
            Navigatable navigatable,
            Collection<String> strings
    ) {
        super(element, icon, navigatable, strings);
    }

    @Override
    protected MybatisPsiElement<XmlTag> buildMybatisPsiElement(XmlTag xmlTag) {
        return new MybatisXmlTag(element);
    }
}
